package com.example.shardingjdbctest;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@NacosPropertySource(dataId = "example", autoRefreshed = true)
@SpringBootApplication
@MapperScan(basePackages = "com.example.shardingjdbctest.mapper")
public class ShardingJdbcTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShardingJdbcTestApplication.class, args);
    }

}
